﻿using BaseData.ErrorCode;
using BaseData.ReadApi.Dto;
using MediatR;

namespace BaseData.ReadApi.Application.Command
{
    /// <summary>
    /// 登录命令类
    /// </summary>
    public class LogingCommand : IRequest<Apiresult<ResUserOutput>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = string.Empty;
    }
}
